<include file="Public/header"/>
<body>

<include file="Public/menu"/>

<div id="tbh5v0">
    <div class="Personal">
        <div id="tbh5v0">
            <div class="innercontent1">
                
				<form action="" method="post" id="form2" >
                    <div class="name"><span>用户名</span>
                        <input type="text" name="name" id="name" value="" placeholder="*会员卡姓名"
                               class="c-f-text">
                    </div>

                    <div class="name"><span>手机号</span>
                        <input type="text" name="mobile" id="mobile" value="" placeholder="*注册手机号"
                               class="c-f-text">
                    </div>

                   
                    <div class="name">
                        <label for="email_ep"> <span>卡号</span>
                            <input name="c_number" value="" id="c_number" placeholder="*卡号" type="text"/>
                        </label>
                    </div>


                    <div class="field submit-btn">
                        <input type="button" onClick="check_form();"  value="绑定" class="btn_big1"/>
                    </div>
                </form>
            </div>

           
        </div>
    </div>


</div>




<script>
    function check_form(){
        var name=$('#name').val();
        var mobile=$('#mobile').val();
        var c_number=$('#c_number').val();


        if(name==''&&mobile==''){
            alert('用户名和手机号必须填写一项!');
            return false;
        }
        if(c_number==''){
            alert('卡号不能为空!');
            return false;
        }
        $('#form2').submit();
	}
</script>



<include file="Public/footer_nav"/>
</body>
</html>